<?php


	function Conexion()
	{
		$host="localhost";
	$user="root";
	$pass="123A";
	$db="dbsio";

	$conexion= new mysqli($host,$user,$pass,$db) or die("ERROR CONEXION").$conexion->connect_error;

	if (!$conexion) {
		die("EROOR DE CONEXION").$conexion->connect_error;
	}
	else
	{
        
		return $conexion;
	}
	}

?>